import request from '@/utils/request'

// 通过
export function pass(data) {
  return request({
    url: '/system/likeWall/pass',
    method: 'post',
    data: data
  })
}


// 拒绝
export function refuse(data) {
  return request({
    url: '/system/likeWall/refuse',
    method: 'post',
    data: data
  })
}

// 查询贴贴墙列表
export function listLikeWall(query) {
  return request({
    url: '/system/likeWall/list',
    method: 'get',
    params: query
  })
}

// 查询贴贴墙详细
export function getLikeWall(id) {
  return request({
    url: '/system/likeWall/' + id,
    method: 'get'
  })
}

// 新增贴贴墙
export function addLikeWall(data) {
  return request({
    url: '/system/likeWall',
    method: 'post',
    data: data
  })
}

// 修改贴贴墙
export function updateLikeWall(data) {
  return request({
    url: '/system/likeWall',
    method: 'put',
    data: data
  })
}

// 删除贴贴墙
export function delLikeWall(id) {
  return request({
    url: '/system/likeWall/' + id,
    method: 'delete'
  })
}
